﻿* {
    margin:0;
    padding:0;
    border:0;
    font-size:16px;
    font-family:Arial, Verdana;
}

body {
    background-color:#e2e1e1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

html {
    height: 100%;
}

legend {
    display:none;
}

h1 {
    font-size: 30px;
    padding: 20px;
}

p {
    text-align: justify;
}

/*---------------HEADER-----------------------*/

header {

    clear:both;
    width:1000px;
    height:100px;
    background-image:url('/Content/SitePics/headerinn.png');
    background-repeat:no-repeat;
    box-shadow: 0px 0px 1px 1px #0a0909;
    background-size:cover;
    text-shadow: 4px 4px  #0a0909;
}

header a {
    font-size:50px;
    display:inline;
    color: #CCCFFF;
    margin-left:50px;
    text-decoration:none;
    position:relative;
    top: -10px;
    font-style:italic;

    
}

header img {
    height:60px;
    width:60px;
    display:inline;
    margin-top:20px;
    margin-left:50px;

    }
/*---------------NAV-BAR-----------------------*/

#nav-bar {
    
    position:relative;
    height:45px;
    width:1000px;
    background-image:url('/Content/SitePics/navbar.png');
    background-repeat:no-repeat;
    background-size:cover;
    margin: 0px 0px 0px 0px;
    box-shadow: 0px 0px 1px 1px #0a0909;
    top: -2px;  
    box-shadow: 0px 4px 5px 1px #0a0909;
}

#nav-bar ul {
	list-style-type: none;
	margin: 0px;
    padding-top: 7px;
    padding-left: 10px;
}

#nav-bar li {
    display: inline;
	margin: 0px;
    padding: 0px 10px;
	line-height: 30px;
}

#logoutForm a, #aboutbtn a, .navLinks {
	font-family: "century gothic", verdana, arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
    text-decoration: none;
    border: 1px solid #163b86;
    box-shadow: 3px 4px 5px 1px #0a0909;
    border-radius: 7px;
    background: #163b86;
    padding: 2px 7px;
   
    color: #ffffff;
}
#logoutForm a, #aboutbtn a {
    margin-left: 20px;
}

#logoutForm a:hover, #aboutbtn a:hover {
    background: #160b86;  
    border: 1px solid #3b3b3b; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1; 
}
    .navLinks {
        position: relative;
        left: 670px;
        top:0px;
    }

.navLinks:hover{
    background: #160b86;  
    border: 1px solid #3b3b3b; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
    
}

#nav-bar > a:visited {
	text-decoration: none;
}

#nav-bar a:hover
{
	text-decoration: none;
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

#nav-bar  a:active {
	text-decoration: none;
}

#nav-bar username, #nav-bar a {
    display: inline; 
    
}
 #logoutForm a {
    display: inline;  
    position: relative;
    left: 750px;
    bottom: 10px;
}

#nav-bar .username {
    display: inline;  
    font-weight: bold;
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    box-shadow: none;
    text-decoration: underline;
    color: white;
}

#aboutbtn {
    display: inline;
}

#hello {
    display: inline;
    position: relative;
    top: 13px;
    left: 5px;
    color: white;
}

#dropDownMenu {
    display:block;
}

#navLinks {
    display:block;
    position:absolute;
    left:660px;
    top:-1px;
    width: 100px;
}

#navLinks li:nth-child(2) {
    position:absolute;
    top:40px;
    right:20px;
}

#navLinks li:nth-child(3) {
    position:absolute;
    top:70px;
    right:20px;
}

#navLinks li:nth-child(4) {
    position:absolute;
    top:100px;
    right:20px;
}

#navLinks li:first-child {
    font-family: "century gothic", verdana, arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
    text-decoration: none;
    border: 1px solid #163b86;
    box-shadow: 3px 4px 5px 1px #0a0909;
    border-radius: 7px;
    background: #163b86;
    padding: 2px 7px;
}

#navLinks li{
    font-family: "century gothic", verdana, arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid black;
    background: #163b86;
    padding: 2px 7px;
    width:50px;
    z-index:100;
}

#navLinks a
{
    text-decoration:none;
    color:white;
}

#gameHub {
    display:block;
    position:absolute;
    left:738px;
    top:70px;    
}

#gameHub li:nth-child(2){
    position:absolute;
    top:35px;
    left:10px;
    width:85px;
    height:26px;
    z-index:100;
}

#gameHub li{
    font-family: "century gothic", verdana, arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid black;
    background: #163b86;
    padding: 2px 7px;
    width:85px;
    position:relative;
    z-index:100;
}

#gameHub a
{
    text-decoration:none;
    color:white;
}

.first-hidden {
    visibility:hidden;
}

.second-hidden {
    visibility:hidden;
}

/*---------------Allt a sidunni-----------------------*/
#container {
    width: 1000px;
    margin: auto;
}

/*---------------Main glugginn-----------------------*/
#main {
    float: left;
    width: 100%;
    background-color: #D3D3D3;
    height: auto !important;
    height: 100%;
    min-height: 800px;
}

/*---------------footer-----------------------*/
footer {
    clear: both;
    background-color: #3b3b3b;
    color: #ffffff;
    height: 80px;
    width: 100%;
    font-size: 16px;
}

footer ul li {
    font-size: 18px;
    display: inline;
    padding-left: 120px;
}

footer ul li:first-child {
    padding: 0px;
}

footer a {
    font-size: 18px;
    color: #ffffff;
}
footer ul {
    padding-top: 30px;
    text-align: center;
}

#footerlogo {
    float: right;
    width: 80px;
    margin-top: -28px;
    margin-right: 50px;
}

/*---------------ABOUT-----------------------*/

#main p { 
    padding: 20px;
    width: 500px;
}

#aboutImage {
    position: relative;
    right: 40px;
    width: 400px;
    float: right;   
}

#youtubeVideo {
    position: relative;
    left: 30px;
}

#about-info {
    margin-top:20px;
    width:100%;
    margin-bottom: 20px;
}

#gifContainer {
    width: 910px;
    margin: 0 auto;
    margin-bottom: 20px;
}

#employees {
    padding-bottom: 20px;
}

/*---------------HOME INDEX-----------------------*/
.game {
    padding-top: 30px;
    width: 50%;
    float: left;
    text-align: center;
}

.game h2 {
	font-family: "century gothic", verdana, arial, sans-serif;
	font-size: 32px;
	color: #585858;
    padding-bottom: 8px;
}

.gamepic {
    height: 250px;
    margin-bottom:50px;
}

.game-link {
    text-decoration:none;
    color:black;
    display:block;
    margin-left:0px;
    font-size:18px;
}

.score {
    width: 360px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 20px;
    box-shadow: 3px 4px 5px 1px #0a0909;
    border-radius: 12px;
    background-color: #3B3B3B;
    height: auto !important;
    height: 300px;
    min-height: 300px;
    padding: 10px;
}

.score th:nth-child(1) {
    padding-right: 10px;
}

.score th:nth-child(2) {
    width: 75%;
}

.score th:nth-child(3) {
    text-align: right;
}

.score a:link {
    color: white;
}

.score a:visited {
    color: white; 
}

.score a:hover {
	text-decoration: none;
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

.game .score {
    text-align: left;
}

.game .score h3 {
    color: #ffffff;
    padding-left: 20px;
    border-bottom: 2px solid #ffffff;
    margin-bottom: 5px;
}

.game .score table {
    font-size: 18px;
    padding-left: 20px;
    color: #ffffff
}

/*OtherUser page aka mvp-page*/
#otherUserID {
    width: 100%;
    margin:0 auto;
}

#otherUserID h1 {
    margin: auto;
    font-size: 18px;
    position: relative;
    top: 10px;
    text-align: center;
}

#otherUserID h1 span {
    font-style: italic;
    color: red;
    font-size: 18px;
}


#otherUserID dl {
    list-style-type: none;
    background-color: #3b3b3b;
    padding-left: 10px;
    padding-right: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 300px;
    color: #ffffff;
    position: relative;
    left: 450px;
    top: -160px;
    height: 160px;
    font-size: 14px;
    border: 1px solid gray;
    background-color: #3b3b3b;
   -moz-border-radius: 15px;
    border-radius: 15px;
}

#otherUserID dl dd {
    padding-top: 5px;
    padding-bottom: 5px;
}

#otherUserID dl dt {
    text-decoration:underline;
    padding: 5px 0px;
}

#otherUserID dl dd + dt, #otherUserID dl dd + dd {
    clear: left;
}

#otherUserID dl dd, #otherUserID dl dt {
    float: left;
    margin: 0 5px 0 0;
}

#otherUserID dl dd + dd {
    float: none;
}

#picPack {
    top: 20px;
    left: 250px;
    position: relative;
    width: 160px;
}

#picPack img {
    width: 150px;
    height: 150px;
}

#otherUserID h2 {
    position: relative;
    text-align: center; 
    text-decoration:underline;
    font-size: 14px;
}

/*---------------LOGIN WINDOW-----------------------*/
#main fieldset {
    padding: 40px;
}

#loginlist li {
    text-decoration:none;
    list-style-type: none;
    padding: 5px;
}

#loginfieldset {
    position: relative;
    border: 1px solid gray;
    width: 300px;
    background-color: #3b3b3b;
    margin:0 auto;
   -moz-border-radius: 15px;
    border-radius: 15px;
    color: white;
}

.loginbtn {
    position: relative;
    right: 10px;
    top: 10px;
    padding:5px;
    box-shadow: 0px 3px 5px 1px #0a0909;
    background-color: #163b86;
    color: #fff;
    float: right; 
    cursor:pointer;  
}

.loginbtn:hover {
    background: #160b86;  
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
    cursor: pointer; 
}

#regbtn {
    float:right;
}

#loginForm h1 {
    margin: auto;
    text-align: center;
    font-size: 20px;
}

.loginInsert {
    float: right;
    width: 200px;
}

#loginForm p {
    margin: auto;
    padding: 0;
    text-align: center;
    margin-top: 5px;
}

.validation-summary-errors ul li {
    color: red;
    font-size: 20px;
    font-weight: bold;
    list-style-type: none;
    display: block;
    text-align: center;
    padding-top: 20px;

}

/*---------------REGISTER WINDOW-----------------------*/
#registerfieldset {
    position: relative;
    top: 20px;
    border: 1px solid gray;
    width: 500px;
    background-color: #3b3b3b;
    margin:0 auto;
   -moz-border-radius: 15px;
    border-radius: 15px;
}

#registerlist li {
    text-decoration:none;
    list-style-type: none;
    padding: 5px;
    color:white;
    margin-left:40px;
}

#registry-container {
    width:100%;
    height:200px;
    padding-top:50px;
}
    #registry-container h2 {
        text-align:center;
    }
    #registry-container p {
         margin-left:30%;
    }

.register-field {
    float:right;
    margin-right:50px;
    width:247px;
}

#filesToUpload {
    float:right;
    margin-right:50px;
    margin-bottom:-20px;
}
/*---------------MANAGE ACCOUNT-----------------------*/

#manageAccountID {
    width: 100%;
    margin:0 auto;
}

#manageAccountImg {
    position: relative;
    margin: auto;
    display: block;
}

#manageAccountID h1 {
    margin: auto;
    font-size: 14px;
    position: relative;
    top: 10px;
    text-align: center;
}

#changePassField{
    position: relative;
    display: block;
    color: white;
    border: 1px solid gray;
    width: 450px;
    background-color: #3b3b3b;
    margin:0 auto;
   -moz-border-radius: 15px;
    border-radius: 15px;
    height: 175px;
}

#changePassList li {
    list-style-type: none;
    text-decoration:none;
    padding: 7px;
}

#manageAccountID h3 {
    margin: auto;
    font-size: 14px;
    position: relative;
    top: 10px;
    text-align: center;
    margin-bottom: 15px;
}

#changePassSubmit {
    text-align: right;
}

.changePass-Field {
    float: right;
    width: 260px;
}

#changePic {
    float: left;
}

/*---------------tictactoe-----------------------*/
.playgame {
    margin: auto;
    padding-top: 10px;
    width: 100%;
    position: relative;
}

.playgame h2 {
    padding-bottom: 10px;
    position: relative;
    margin: auto;
    text-align: center;
}

#playTTT {
    margin: auto;
    width: 310px;
}

#tictactoe {
    position: relative;
    top: -60px;
    margin: auto;
}

#tictactoe td {
    border: solid 1px;
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    font-size: 0px;
}

#gamemsg {
    float: left;
    padding-top: 20px;
    padding-left: 10px;
    text-align: center;
    width: 50%;
}

#gamemsg textarea {
    width: 450px;
    height: 287px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 10px;
}

#gamemsg input[type=text] {
    width: 450px;
    height: 22px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 10px;
}

#gamemsgTTT {
    margin: auto;
    padding-left: 10px;
    text-align: center;
    width: 50%;
    padding-bottom: 5px;
}

#gamemsgTTT textarea {
    width: 450px;
    height: 287px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 10px;
}

#gamemsgTTT input[type=text] {
    width: 450px;
    height: 22px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 10px;
}

#gamemsgPic {
    margin: auto;
    text-align: center;
    width: 50%;
    padding-bottom: 40px;
    margin-top: 50px;
}

#gamemsgPic textarea {
    width: 450px;
    height: 287px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 2px;
}

#gamemsgPic input[type=text] {
    width: 450px;
    height: 22px;
    background-color: #3b3b3b;
    color: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid gray;
    padding: 5px 10px;
}

#gameguess {
    padding: 10px 0px;
}

#wordtodraw {
	font-family: "century gothic", verdana, arial, sans-serif;
	font-size: 24px;
	font-weight: bold;
    padding: 5px;
    height: 30px;
}

#errorMsg {
    position: relative;
    top: -50px;
    font-size: 14px;
    font-weight: bold;
}

#stats {
    border: 1px solid gray;
    background-color: #3b3b3b;
    -moz-border-radius: 15px;
    border-radius: 15px;
    width: 110px;
    left: 700px;
    color: white;
    position: relative;
}

#stats p {
    padding: 5px 5px;
    width: 110px;
}

.lobbyBtnTTT {
    position: relative;
    float: right;
    text-align: center;
    background: #163b86;   
    padding: 25px;
    text-decoration: none;
    top: -55px;
    right: 700px;
    color: white;
    display:block;
    width: 120px;
}

.lobbyBtnTTT:hover {
    background: #160b86; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

/* Game Lobby */
#gamemsg h2 {
    text-align: left;
    margin-left: 25px;
    color: red;
}

#chat-window {
    background-color: #3b3b3b;
    color: white;
}

#gameList {
    padding-top: 400px;
    padding-left: 35px;
}

#gameList h2 {
    color: red;
    padding-left: 15px;
}

#gameList a:visited {
    color: white;
}

#currentGames  {
    position: relative;
    width: 500px;
    height: 200px;
    padding: 5px 15px;
    color: white;
    margin-top:-20px;
}

#lobbyLinks {
    margin-top: -580px;
    margin-left: 550px;
    width:100px;
}

#lobbyLinks h2 {
    font-size: 22px;
    position:relative;
    left:10px;
}

#underLine {
    border:1px solid gray;
    width: 190px;
    position:relative;
    right: 48px;
    top:5px;
}

.newGameButton {
    text-align: center;
    background: #163b86;   
    padding: 25px;
    text-decoration:none;
    position:relative;
    top: 20px;
    right:35px;
    color: white;
    display:block;
    width: 120px;
}

.newGameButton:hover, .gameRulesButton:hover {
    background: #160b86; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

#activeUsers {
    position:relative;
    margin-left: 750px;
    margin-top: -170px;
}

#activeUsers a:visited {
    color: black;
}

#activeUsers a {
    font-weight: bold;
}

#activeUsers h2 {
    font-size: 22px;
}

#gameRulesPictionary {
    position: relative;
    top:327px;
    margin-left: 510px;
    height: 300px;
    width: 450px;
    color:white;
    visibility: hidden;
}
    
    #gameRulesPictionary::first-line {
        text-decoration: underline;
        margin-bottom:10px;
        font-weight: bold;
        font-size: 23px;
    }

.gameRulesPictionary {
    list-style: none;
    padding-left: 13px;
}

.gameRulesPictionary li {
    margin-bottom: 8px;
}

#stats span {
    display: block;
    clear: right;
    float: right;
}

/*------------------Classar fyrir marga alhaefda hluti------------------*/
.noListDecoration {
    text-decoration:none;
    list-style: none;
    text-align: center;
    color: inherit;
}
    .noListDecoration li a {
        font-style:oblique;
        text-decoration: underline;
    }

.centered {
    text-align: center;
    margin: 0 auto;
}

textarea, input { 
    outline: none;

}

/*-----------------------Pictionary--------------------------------*/
#sketch {
    padding-top:10px;
    margin: auto;
    width: 600px;
    height: 400px;
}

#pictionaryCanvas {
    border: 5px solid #3b3b3b;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-color: #ffffff;
}

canvas:hover, canvas:active, canvas{
    cursor:crosshair;
}

#playPic {
    padding-top: 10px;
    padding-left: 10px;
}

#playPic h2 {
    text-decoration: underline;
    padding-bottom: 20px;
    font-size: 18px;
}

#picGuess {
    padding-left: 10px;
    padding-top: 20px;
}

#picGuess textarea{
    width: 600px;
    height: 300px;
    background-color: #3b3b3b;
    color: white;
    border: 1px solid gray;
    background-color: #3b3b3b;
   -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 10px;
}

#picGuess input[type=text] {
    padding-top: 5px;
    width: 600px;
    background-color: #3b3b3b;
    color: white;
    margin-bottom: 20px;
    border: 1px solid gray;
    background-color: #3b3b3b;
   -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 10px;
}

#picChat {
    position: relative;
    left: 650px;
    bottom: 840px;
}

#picChat h2 {
    text-decoration: underline;
    font-size:18px;
    padding-bottom: 15px;
}

#picChat textarea {
    height: 400px;
    width: 300px;
    color: white;
    margin-bottom: 5px;
    border: 1px solid gray;
    background-color: #3b3b3b;
   -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 10px;
    display: block;
}

#picChat input[type=text] {
    border: 1px solid gray;
    background-color: #3b3b3b;
   -moz-border-radius: 15px;
    border-radius: 15px;
    width: 300px;
    padding: 10px;
    color: white;
}

#adminTable {
    width: 360px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 20px;
    border: 1px solid #163b86;
    box-shadow: 3px 4px 5px 1px #0a0909;
    border-radius: 12px;
    background-color: #3B3B3B;
    height: auto !important;
    height: 300px;
    min-height: 300px;
    padding: 10px;
}

#welcomeAdmin h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#adminTable th {
    text-align: left;
    color: white;
    text-decoration: underline;
}

#adminTable th:nth-child(2) {
    text-align: right;
}

#adminTable a:link {
    color: white;
}

#adminTable a:visited {
    color: white;
}

#adminTable a:hover {
	text-decoration: none;
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

#adminTable a:active {
    color: white;
}

#adminTable td:nth-child(2) {
    text-align: right;
}

#createGame {
    border: 1px solid gray;
    background-color: #3b3b3b;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 10px;
    width: 500px;
    margin:auto;
    color: white;
    top: 10px;
    position: relative;
    text-align: center;
}

#createGame .newGameButton {
    display: inline;
    margin-left: 40px;
    top: 0px;
    padding: 10px;
}

#quickGame  {
    position:relative;
    top: 40px;
}

.gameRulesButton {
    text-align: center;
    background: #163b86;   
    padding: 10px 25px;
    text-decoration:none;
    position:relative;
    top: 60px;
    right:35px;
    color: white;
    display:block;
    width: 120px;
}

#picker {
    position: relative;
    float: right;
    top: -360px;
    width: 200px;
    height: 400px;
}

#brushColors {
    position: relative;
    left: 20px;
}

#brushSize {
    position: relative;
    left: 80px;
    top: -385px;
}

#picker ul {
    list-style-type: none;
}

#picker ul li {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#brushSize img {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#drawTools {
    position: relative;
    top: -385px;
    left: 80px;
}

#drawTools img {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#black {
    background-color: #000000;
}

#red {
    background-color: #FC0000;
}

#yellow {
    background-color: #F4FC00;
}

#green {
    background-color: #00FC08;
}

#blue {
    background-color: #1500FC;
}

#orange {
    background-color: #FF8000;
}

#brown {
    background-color: #AD6C2B;
}

#reportUser {
    position: relative;
    float: right;
    top:-140px;
    text-align: center;
    background: #163b86;
    padding: 25px;
    text-decoration: none;
    position: relative;
    right: 590px;
    color: white;
    width: 120px;
}

#reportUser:hover {
    background: #160b86; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}

#reportUser a {
    color: white;
    text-decoration: none;
}

.lobbyBtnPic {
    position: relative;
    top: 100px;
    text-align: center;
    background: #163b86;   
    padding: 25px;
    text-decoration: none;
    color: white;
    width: 120px;
    left: 15px;
}

.lobbyBtnPic:hover {
    background: #160b86; 
    text-shadow: 0 0 0.1em #e2e1e1, 0 0 0.2em #87F, 0 0 0.1em #e2e1e1;
}